﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/FrameMain.Master" AutoEventWireup="true" CodeBehind="DirList.aspx.cs" Inherits="Jzy.Web.DocManager.Document.DirList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <div id="toolbar">
        <ul>
            <li><a id="lnkBack" runat="server" href="javascript:history.back();"><span><b style="background-image: url(../../common/images/common/back.gif);">
                &nbsp;</b><asp:Literal ID="Literal9" runat="server" Text="返回"></asp:Literal></span></a></li>
        </ul>
    </div>
    <div id="head">
        <div class="left">
            <asp:Label ID="lblDirName" runat="server" Text="Label" Visible="false" Font-Bold="true"></asp:Label><asp:Label
                ID="lblStatistic" runat="server" Text="Label"></asp:Label></div>       
    </div>
    <div id="list">
        <asp:HiddenField ID="hidSelectIDs" runat="server" Value="" />
        <table id="lvList" cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr id="lvHeader" runat="server">
                <th class="sp">
                    &nbsp;
                </th>
                <th class="chk">
                    <asp:CheckBox ID="chkSelectAll" runat="server" />
                </th>
                <th>
                    目录名称
                </th>
                <th>
                    目录编号
                </th>
                <th>
                    目录类型
                </th>                
                <th>
                    创建人
                </th>
                <th>
                    创建时间
                </th>               
              
            </tr>
            <asp:ListView ID="lv" runat="server" ItemPlaceholderID="items" 
                onitemdatabound="lv_ItemDataBound">
                <LayoutTemplate>
                    <tr id="items" runat="server">
                    </tr>
                </LayoutTemplate>
                <ItemTemplate>
                    <tr id="row" runat="server">
                        <td class="sp">
                            &nbsp;
                        </td>
                        <td class="chk">
                            <asp:CheckBox ID="chkSelect" runat="server" />
                        </td>
                        <td>
                           <img align="absmiddle" src="../../common/images/Common/folder.gif" alt='<%# Eval("Name") %>' > &nbsp;<asp:HyperLink ID="lnkName" runat="server" NavigateUrl="#" Text='<%# Eval("Name") %>'
                            EnableViewState="False"></asp:HyperLink>
                        </td>
                        <td>
                            <%# Eval("Code")%>&nbsp;
                        </td>
                        <td>
                            <%#((Jzy.Model.DocManger.DirType)(int)Eval("TypeID")).ToString() %>&nbsp;
                        </td>
                        
                        <td>
                            <%# Eval("CreatorName") %>
                        </td>
                                              
                        <td>
                            <%#Eval("InputTime","{0:d}") %>&nbsp;
                        </td>    
                            
                    </tr>
                </ItemTemplate>
                <EmptyDataTemplate>
                    <tr>
                        <td colspan="7" class="empty">
                            没有子目录
                        </td>
                    </tr>
                </EmptyDataTemplate>
            </asp:ListView>
        </table>       
    </div>
   
</asp:Content>
